package com.itsv.xhyy;

import android.app.Activity;
import android.os.Bundle;
import android.text.Html;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.TextView;

public class ZhengxietianMoreActivity extends Activity {
	private TextView title;
	private TextView body;
	private String mTitle;
	private String mBody;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.zhengxietian_more);
		
		title = (TextView) findViewById(R.id.title);
		body = (TextView) findViewById(R.id.body);
		mTitle = getIntent().getStringExtra("title");
		mBody = getIntent().getStringExtra("content");
		
		findViewById(R.id.btn_goback).setOnClickListener(new OnClickListener() {
			
			@Override
			public void onClick(View v) {
				ZhengxietianMoreActivity.this.finish();
			}
		});
		title.setText(mTitle);
		body.setText(Html.fromHtml(mBody));
	}
}
